/// @tags: DP
#include <cstdio>
#include <functional>
#include <iostream>
#include <numeric>

using std::cin, std::cout, std::endl;

namespace BlueQuantum {

constexpr int maxn = 3e3 + 2, mod = 998244353;

int f[maxn][maxn];

int main() {
  int n, k;
  cin >> n >> k;
  f[0][0] = 1;
  for (int i = 1; i <= n; ++i) {
    for (int j = n; j; --j) {
      f[i][j] = f[i - 1][j - 1];
      if (2 * j <= n) f[i][j] = (f[i][j] + f[i][2 * j]) % mod;
    }
  }
  cout << f[n][k];
  return 0;
}

}  // namespace BlueQuantum

int main() {
#ifndef ONLINE_JUDGE
#ifdef LOCAL
  freopen("/tmp/CodeTmp/testdata.in", "r", stdin);
  freopen("/tmp/CodeTmp/testdata.out", "w", stdout);
#else
  freopen("ARC107D Number of Multisets.in", "r", stdin);
  freopen("ARC107D Number of Multisets.out", "w", stdout);
#endif
#endif

  std::ios::sync_with_stdio(false), cin.tie(NULL), cout.tie(NULL);
  return BlueQuantum::main();
}
